<?php
declare(strict_types=1);
namespace App\Api;
use App\ApiController;

// hook controller_api_index_use.php

/**
 * @title   Api
 * @auth    false
 * @rank    10
 */
class Index extends ApiController
{
    // hook controller_api_index_public_start.php

    // hook controller_api_index_public_end.php

    /**
     * @title   测试
     * @rank    99
     */
    public function action_Test(){
        $this->response('0001', [], '分类不存在');
    }

    /**
     * @title   测试123
     * @rank    99
     */
    public function action_Abc(){
        $this->response('0002', [], '分类不存在');
    }
    
    // hook controller_api_index_end.php
}
?>